package com.tcode.bean;

import java.io.Serializable;
import java.util.List;

public class RoleBean implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int id ;
	
	private int userid;
	
	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	private String roleName;
	
	private List<PrivilegeBean> privlilegeList;
	
	private String createDate;
	
	private int ifValid ;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public List<PrivilegeBean> getPrivlilegeList() {
		return privlilegeList;
	}

	public void setPrivlilegeList(List<PrivilegeBean> privlilegeList) {
		this.privlilegeList = privlilegeList;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public int getIfValid() {
		return ifValid;
	}

	public void setIfValid(int ifValid) {
		this.ifValid = ifValid;
	}

	@Override
	public String toString() {
		return "RoleBean [id=" + id + ", roleName=" + roleName + ", privlilegeList=" + privlilegeList + ", createDate="
				+ createDate + ", ifValid=" + ifValid + "]";
	}
	
	

}
